home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / hc / fortunec.sit / Fortune Cookies / background_2694.txt < prev    next >
Encoding:
Text File  |  1988-11-14  |  2.4 KB  |  123 lines

  1. -- background: 2694 from stack: in
  2. -- bmap block id: 90663
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Fortune
  6. ----- HyperTalk script -----
  7. on mouseUp
  8.   if the number of cards > the number of card "Control Card" then
  9.     visual effect dissolve
  10.     go to  card randomCardNumber()
  11.   end if
  12. end mouseUp
  13.  
  14. on openBackground
  15.   push recent card
  16. end openBackground
  17.  
  18.  
  19. -- part 1 (field)
  20. -- low flags: 80
  21. -- high flags: 0000
  22. -- rect: left=47 top=77 right=303 bottom=485
  23. -- title width / last selected line: 0
  24. -- icon id / first selected line: 0 / 0
  25. -- text alignment: 0
  26. -- font id: 2
  27. -- text size: 12
  28. -- style flags: 0
  29. -- line height: 16
  30. -- part name: Your Fortune
  31.  
  32.  
  33. -- part 2 (field)
  34. -- low flags: 80
  35. -- high flags: 0004
  36. -- rect: left=272 top=2 right=23 bottom=508
  37. -- title width / last selected line: 0
  38. -- icon id / first selected line: 0 / 0
  39. -- text alignment: 0
  40. -- font id: 0
  41. -- text size: 12
  42. -- style flags: 0
  43. -- line height: 16
  44. -- part name: Category
  45.  
  46.  
  47. -- part 3 (button)
  48. -- low flags: 00
  49. -- high flags: 0000
  50. -- rect: left=7 top=4 right=26 bottom=43
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 1011 / 1011
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: Home
  59. ----- HyperTalk script -----
  60. on mouseUp
  61.   go to home
  62. end mouseUp
  63.  
  64.  
  65.  
  66. -- part 6 (button)
  67. -- low flags: 00
  68. -- high flags: 0000
  69. -- rect: left=55 top=1 right=30 bottom=88
  70. -- title width / last selected line: 0
  71. -- icon id / first selected line: 2478 / 2478
  72. -- text alignment: 1
  73. -- font id: 0
  74. -- text size: 12
  75. -- style flags: 0
  76. -- line height: 16
  77. -- part name: Info Button
  78. ----- HyperTalk script -----
  79. on mouseUp
  80.   go to card id 112488
  81. end mouseUp
  82.  
  83.  
  84.  
  85.  
  86. -- part 7 (button)
  87. -- low flags: 00
  88. -- high flags: 0000
  89. -- rect: left=101 top=6 right=22 bottom=127
  90. -- title width / last selected line: 0
  91. -- icon id / first selected line: 0 / 0
  92. -- text alignment: 1
  93. -- font id: 0
  94. -- text size: 12
  95. -- style flags: 0
  96. -- line height: 16
  97. -- part name: Go to Control Card
  98. ----- HyperTalk script -----
  99. on mouseUp
  100.   visual effect zoom open
  101.   go to card "Control Card"
  102. end mouseUp
  103.  
  104.  
  105.  
  106. -- part 8 (button)
  107. -- low flags: 00
  108. -- high flags: 0000
  109. -- rect: left=143 top=0 right=24 bottom=165
  110. -- title width / last selected line: 0
  111. -- icon id / first selected line: 6720 / 6720
  112. -- text alignment: 1
  113. -- font id: 0
  114. -- text size: 12
  115. -- style flags: 0
  116. -- line height: 16
  117. -- part name: Return
  118. ----- HyperTalk script -----
  119. on mouseUp
  120.   pop card
  121. end mouseUp
  122.  
  123.